﻿@model Forest.Cat.Admin.Models.Resumes.CertificationModel
@{
    ViewBag.Title = "证书";
    Layout = "~/Administration/Views/Shared/_JobseekerRoot.cshtml";
}
@using (Html.BeginForm("CertificationEdit", "Resume", FormMethod.Post))
{
    <div class="Work_experience">
        <div class="Work_experience_title">
            @ViewBag.Title</div>
        <div class="Work_experience_box">
            <ul>
                <li>
                    <p>
                        选择合适的证书</p>
                    @Html.DropDownListFor(
                            x => x.QualifiedCertification,
                                              (SelectList)ViewBag.Licenses, "请选择：",
                            new { @class = "long_select" })
                    @Html.ValidationMessageFor(x => x.QualifiedCertification, "", new { @class = "message_color" })
                </li>
                <li>
                    <p>
                        证书</p>
                    @Html.TextBoxFor(x => x.CertificationName, new { @class = "long_input" })
                    @*<span>没有合适项目可选时填写</span>*@ </li>
                <li>
                    <p>
                        时段</p>
                    年：
                    @Html.TextBoxFor(x => x.DateQualifiedYear, new { @class = "short_input" })
                    @Html.ValidationMessage("RequiredError", new { @class = "message_color" })
                    @Html.ValidationMessage("DataError")
                    月：
                    @Html.DropDownListFor(
                             x => x.DateQualifiedMonth,
                                  (SelectList)ViewBag.ListMonth,
                                  "月",
                     new { @class = "short_select" })
                </li>
                <li>
                    <p>
                        详细描述(可选)</p>
                    @Html.TextAreaFor(x => x.Score, new { @class = "long_textarea" })
                </li>
                <div class="workEdit_btns">
                    @Html.HiddenFor(x => x.Id)
                    @Html.HiddenFor(x => x.ResumeId)
                    @Html.HiddenFor(x => x.ReturnUrl)
                    <input type="image" src="../../../Administration/Content/images/icons-save-64-19.png" />或
                    <a href="@Model.ReturnUrl">取消</a></div>
            </ul>
        </div>
    </div>
}